import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import Vant from 'vant';
import 'vant/lib/index.css';

// import ElementUI from 'element-ui';
// import 'element-ui/lib/theme-chalk/index.css';

// import Antd from "ant-design-vue";
// import "ant-design-vue/dist/antd.css";
// Vue.use(Antd);
//全部引入ant-design

Vue.use(Vant);
// Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.prototype.$axios = axios;

import Loading from "./components/loading/index"
Vue.use(Loading);

import popup from "./components/popup/index"
Vue.use(popup);

import API from "./API/index"
Vue.use(API)
import "./components/rem/rem";
// import http from "./http/http.js";
// Vue.prototype.$http = http;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
